package cn.iocoder.yudao.module.eval.controller.admin.monitoring.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 监控预警 Response VO")
@Data
public class EvalMonitoringAlertRespVO {

    @Schema(description = "预警ID", example = "1")
    private Long id;

    @Schema(description = "计划ID", example = "1")
    private Long planId;

    @Schema(description = "预警类型", example = "attendance")
    private String alertType;

    @Schema(description = "预警级别", example = "2")
    private Integer alertLevel;

    @Schema(description = "预警消息", example = "考勤异常")
    private String alertMessage;

    @Schema(description = "预警时间", example = "2024-01-01 10:00:00")
    private LocalDateTime alertTime;

    @Schema(description = "是否已处理", example = "false")
    private Boolean isHandled;

    @Schema(description = "处理人ID", example = "1")
    private Long handlerId;

    @Schema(description = "处理时间", example = "2024-01-01 10:30:00")
    private LocalDateTime handleTime;

    @Schema(description = "处理意见", example = "已处理")
    private String handleComments;

}
